package com.atom.module.author.mapper;

import com.atom.module.author.pojo.entity.Permission;
import com.atom.module.author.pojo.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface JointMapper {

    // 根据用户查询权限
    List<Permission> selectPermission(Long authorId);

    // 根据用户查询角色
    List<Role> selectRole(Long authorId);

}
